package cn.iocoder.yudao.module.ems.controller.admin.spares.vo;

import cn.iocoder.yudao.module.ems.controller.admin.store.vo.StoreRespVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@ApiModel(value = "管理后台 - 用户分页时的信息 Response VO", description = "相比用户基本信息来说，会多仓库信息")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class SparesPageItemRespVO extends StoreRespVO {

    /**
     * 所在仓库
     */
    private Store store;

    @ApiModel("仓库")
    @Data
    public static class Store {

        @ApiModelProperty(value = "仓库编号", required = true, example = "1")
        private Long id;

        @ApiModelProperty(value = "仓库名称", required = true, example = "仓库1")
        private String name;

    }

}
